const path = require('path')

module.exports = function(entry) {
  return {
    entry,
    output: {
      path: path.resolve(__dirname, '../dist'),
      filename: 'js/[name].js'
    }
  }
}